<template>
    <div class="mc-image">
        	<mc-image :src="value">
          </mc-image>
          <el-button @click="view">查看</el-button>
    </div>
</template>

<script>
import McImage from './components/McImage'
export default {
    data(){
        return {
            value : "/public/1.jpg,/public/2.jpg,/public/1.jpg"
		    }
    },
    components:{
      McImage,
    },
    methods : {
        view:function(){
            console.log(this.value)
        }
    }
}
</script>

<style lang="scss">
  .mc-image{
    .el-image{
      margin:2px
    }
  }
</style>
